import Vue from 'vue'
import Vuex from 'vuex'
import goods from '@/store/modules/goods'
import createPersistedstate from 'vuex-persistedstate'
Vue.use(Vuex)

export default new Vuex.Store({
  state: {
  },
  getters: {
  },
  mutations: {
  },
  actions: {
  },
  modules: {
    goods
  },
  plugins:[
    createPersistedstate({
      key:"goods",
      paths:['goods']
    })
  ]
})
